//
//  OpCycleFlowLayout.m
//  LoveBeeProject
//
//  Created by skywalker on 17/1/8.
//  Copyright © 2017年 斯芬克斯. All rights reserved.
//

#import "OpCycleFlowLayout.h"

@implementation OpCycleFlowLayout
-(void)prepareLayout{
    [super prepareLayout];
    //设置尺寸
    self.itemSize = self.collectionView.bounds.size;
    
    self.collectionView.backgroundColor = [UIColor whiteColor];
    self.minimumLineSpacing = 0;
    self.minimumInteritemSpacing = 0;
    self.scrollDirection = UICollectionViewScrollDirectionHorizontal;
    self.collectionView.bounces = NO;
    self.collectionView.showsVerticalScrollIndicator = NO;
    self.collectionView.showsHorizontalScrollIndicator = NO;
    self.collectionView.pagingEnabled = YES;
    
}
@end
